<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单表</title>
<style>
	.navlist_two{
	background:#FF9900;
	}
	.navlist_one,.navlist_there,.navlist_four{
	background:#e4e4e4;
	}
</style>
<link href="css/myCart.css" type="text/css" rel="stylesheet"/>
<script src="js/jquery-1.8.3.js"></script>
<script src="js/mycat.js" type="text/javascript"></script>
	<script>
		var dialog;
		function openDiaLog(){
		dialog=window.showModalDialog("moshi.html","","dialogHeight=501px;dialogWidth=400px;toolbars=0,location=0,ststusbar=0,menubar=0,scrollbars=0")//模式窗口的属性
		document.all.dizhi.value=dialog;//再把dizhi的值赋给text
		}
		function show(){
			if(dialog==""){
				alert("请确认信息。。")
			}else{
					var shop="�帽敬喂宦虻纳唐沸畔⑷缦拢�\n商品名称：双飞燕键盘\n商品数量：10件\n商品单价：50.5元\n运费：25元\n费用合计：530元\n";
		var shop=shop+"送货地址："+document.all.dizhi.value+"\n请确认以上信息是否有误！"
		if(confirm(shop)){//判断是yes还是no
			alert("你确认了送货信息");
		}else{
			alert("你取消了送货信息");
		}
			}
		}
	
	
	</script>
</head>

<body>
<div id="nav">您的位置：<a href="#">首页</a> &gt; <a href="#">我的店</a> &gt; 我的购物车</div>
<div id="navlist">
    <ul class="navlist_1">
	  
        <li class="navlist_one">1. 我的购物车</li>
        
        <li class="navlist_two">2. 确认订单信息并支付</li>
      
        <li class="navlist_there">3. 确认收货</li>
      
        <li class="navlist_four">4. 评价</li>
        
    </ul>
</div>
<!--确认订单及支付-->
<div id="pay">
	<!--确认订单-->
    <div id="pay_order"> 
		  <table class="shopping">
	 		 <tr>
                <td class="title_2" colspan="3">店铺宝贝</td>
                <td class="title_4" colspan="2">单价（元）</td>
                <td class="title_5">数量</td>
                <td class="title_6">小计（元）</td>
                <td class="title_7">操作</td>
            </tr>
			<tr id="product1">
                <td class="cart_td_2" colspan="2"><img src="images/taobao_cart_01.jpg" alt="shopping"/></td>
                <td class="cart_td_3"><a href="#">日韩流行风时尚美眉最爱独特米字拼图金属坡跟公主靴子黑色</a><br />
                    颜色：棕色 尺码：37<br />
                    保障：<img src="images/taobao_icon_01.jpg" alt="icon" /></td>
                <td class="cart_td_5" colspan="2">138.00</td>
                <td class="cart_td_6"><img src="images/taobao_minus.jpg" alt="minus" class="hand"/> <input id="num_1" type="text"  value="1" class="num_input" readonly="readonly"/> <img src="images/taobao_adding.jpg" alt="add" class="hand"/></td>
                <td class="cart_td_7"></td>
                <td class="cart_td_8"><a href="javascript:void(0);">删除</a></td>
            </tr>
			<tr>
				 <td colspan="8" class="shopInfo">&nbsp;</td>
			</tr>
			<tr>
				<td colspan="6"></td>
				<td><a href="javascript:openDiaLog()">新增地址</a>
				</td>
				<td>
				<input type="image" src="images/taobao_sub.png" onclick="show()"></td>
			</tr>
	  </table>
	</div>
</div>
</body>
</html>
